* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #eef2f6;
    font-size: 14px;
}

.tab-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    user-select: none;
    background-color: #eaecf2;
}

.tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
    margin-left: 8px;
    /* margin-right: 32px; */
    overflow: auto;
}

.tabs-left {
    display: flex;
    align-items: center;
    height: 32px;
    margin-left: 8px;
    /* margin-right: 32px; */
    overflow-x: auto;
    flex: 1;
}

.tab {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    padding: 0 10px 0 15px;
    max-width: 185px;
    border-left: 1px solid #999;
    cursor: default;
}

.tab:first-child {
    border-left: none;
}

/* .tab:last-of-type {
  border-right: 1px solid #999;
} */
.tab:not(.active):hover .title {
    color: #999;
}

.tab.active {
    height: 100%;
    border-radius: 4px 4px 0px 0px;
    border-left-color: transparent;
    border-right-color: transparent;
    background: #F8F9FD;
}

.tab.active+.tab {
    border-left: none;
}

.title {
    flex-grow: 1;
    display: flex;
    margin: 0 5px 0 10px;
    overflow: hidden;
}

.title-content {
    /* flex-shrink: 0; */
    flex: 1;
    vertical-align: top;
    overflow: hidden;
    white-space: nowrap;
    margin-left: 4px;
    color: #5f6368;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 24px), transparent);
}

.close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    padding: 5px;
    margin-top: 2px;
    border-radius: 100%;
    font-size: 10px;
}

.close:hover {
    background: #ddd;
}

.bars {
    .address-bar {
        background: #FFFFFF;
        padding: 0 12px 3px;
    }
    .bar {
        display: flex;
        align-items: center;
    }
    .address {
        width: 100%;
        height: 24px;
        padding: 4px 11px;
        margin-right: 8px;
        border: none;
        // border: 1px solid #d9d9d9;
        border-radius: 24px;
        background: #eceff2;
        outline: none;
        line-height: 24px;
        font-size: 12px;
        padding: 5px 8px;
        background-color: #f1f3f4;
    }

    .tabs-right-buttons {
        margin-right: 8px;
        display: flex;
        align-items: center;
    }

    .button {
        height: 24px;
        width: 24px;
        border-radius: 50%;
        color: rgb(121, 121, 121);
        display: flex;
        justify-content: center;
        cursor: pointer;
    }

    .button:hover {
        width: 24px;
        height: 24px;
        background-color: #eeeeee;
    }

    .back-button {
        // width: 30px;
        // height: 30px;
        // border-radius: 50%;
        background-image: url('./assets/images/back.png');
        background-size: 20px 20px;
        background-position: center center;
        background-repeat: no-repeat;
        // cursor: pointer;
    }

    // .back-button:hover {
    //     width: 30px;
    //     height: 30px;
    //     background-color: white;
    // }
    .go-forward-button {
        // width: 30px;
        // height: 30px;
        // border-radius: 50%;
        background-image: url('./assets/images/go-forward.png');
        background-size: 20px 20px;
        background-position: center center;
        background-repeat: no-repeat;
        // cursor: pointer;
    }

    // .go-forward-button:hover {
    //     width: 30px;
    //     height: 30px;
    //     background-color: white;
    // }
    .reload-button {
        // width: 30px;
        // height: 30px;
        // border-radius: 50%;
        background-image: url('./assets/images/reload.png');
        background-size: 20px 20px;
        background-position: center center;
        background-repeat: no-repeat;
        // cursor: pointer;
    }

    // .reload-button:hover {
    // width: 30px;
    // height: 30px;
    // background-color: white;
    // background-image: url('./assets/images/reload.png');
    // background-size: 20px 20px;
    // background-position: center center;
    // }

    .tab-search {
        height: 24px;
        width: 100%;
        border-radius: 24px;
        background-color: #e9ebec;
        padding-left: 14px;
        line-height: 24px;
    }
}

.actions {
    flex-shrink: 0;
    display: flex;
    justify-content: space-evenly;
    width: 118px;
    margin-right: 18px;
}

.action {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 100%;
    color: #333;
    font-size: 16px;
}

.action.disabled {
    color: #ccc;
}

.action:not(.disabled):hover {
    background: #eee;
}


.tabs-tooltip-title {
    max-width: none;

    .ant-tooltip-inner {
        white-space: nowrap;
    }

}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-button {
    background-color: #eee;
    display: none;
}
